<?php

namespace App\Models\Chat;

use App\Models\BaseModel;

/**
 * App\Models\Chat\Group
 *
 * @property int $id
 * @property string $group_name 群名称
 * @property string $group_admin_id 群管理
 * @property string|null $group_avatar 群头像
 * @property int $group_upper_limit 群人员上限 默认=2000
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|Group newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Group newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Group query()
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereGroupAdminId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereGroupAvatar($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereGroupName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereGroupUpperLimit($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Group whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class Group extends BaseModel
{

	protected $table ='chat_group';
	protected $primaryKey = 'id';
	public $timestamps = true;
	protected $fillable = [
		'group_name',
		'group_admin_id',
		'group_avatar',
		'group_upper_limit',
	];
}
